package com.feige.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author feige
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MsgVo<T> {
    private Integer type;
    private T msg;
    /**
     * 扩展字段，用来存放群ID
     */
    private String extend;

    public MsgVo(Integer type, T msg){
        this.type = type;
        this.msg = msg;
    }
}
